package com.example.restful01.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.models.auth.In;
import lombok.Data;

@Data
public class User {
    @TableId(value = "reader_id",type = IdType.AUTO)
    private Integer readerId;
    private String readerName;
    private String readerPhone;
    private Integer borrowTimes;
    private Integer ovdTimes;
    private String email;
    private Boolean isAdmin;
}
